using System.IO;
using Common;

namespace SProject.Rule
{
	public class HRMRule : Rule
	{
		public override Rule CreateRule()
		{
			return new MeltRule();
		}

		public override void Copy(Rule rule)
		{
			base.Copy(rule);
		}

		public override void SaveToStream(StreamEx stream)
		{
			base.SaveToStream(stream);
		}

		public override bool ReadFromStream(StreamEx stream)
		{
			if (base.ReadFromStream(stream))
			{
				PropertyKey propertyKey = stream.ReadKey();
				stream.Seek(-4L, SeekOrigin.Current);
				return true;
			}
			return false;
		}
	}
}
